/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lambkit.module.cms.rpc.service.impl;

import java.io.IOException;
import java.util.List;

import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;
import com.lambkit.common.service.BaseServiceMock;
import com.lambkit.module.cms.rpc.api.CmsFileService;
import com.lambkit.module.cms.rpc.model.CmsFile;
import com.lambkit.module.cms.rpc.model.CmsRelation;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2020-02-23
 * @version 1.0
 * @since 1.0
 */
public class CmsFileServiceMock extends BaseServiceMock<CmsFile> implements CmsFileService {

	@Override
	public int insertFile(CmsFile fileInfo) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<String> compressFile(String name, Long userid) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void translateFile(String uuid) throws IOException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public CmsFile getByUuid(String uuid) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CmsFile getByFileId(Long fileId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int saveByUuid(CmsFile fileInfo) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByUuid(CmsFile file) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void setFileStateByUuid(String uuid, int i) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void modifyFileExtById(Long fileId, String fileExt) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Page<CmsFile> searchByNameOrId(String searchInfo, Long userId, Integer pageNo, int pageSize) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int delFileById(Long fileId) throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int addRelations(Long mainFileId, List<Long> list) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<CmsFile> searchByNameOrId(String searchInfo, Long userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CmsRelation> getRelations(Long mainFileId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int delRelations(Long mainFileId, Long relationFileId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int autoRelation(String uuid) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<CmsFile> getFilesByState(int i) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<CmsFile> getFiles(String searchValue, int pageNo, int pageSize, String order) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int moveFile(Long cid, Long pid, String ids) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Page<Record> getRecentFileAndNote(int pageNumber, int pageSize, Long userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CmsFile> findListByTagId(Long tagId, String orderBy, Integer count) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<CmsFile> paginateByTagId(Integer pageNumber, Integer pageSize, Long tagId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CmsFile> findListByTag(String tag, String orderBy, Integer count) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<CmsFile> paginateByTag(Integer pageNumber, Integer pageSize, String tag) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CmsFile> findTagRelevantListByFileId(Long fileId, Integer count) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<CmsFile> paginateByUserTag(Integer pageNumber, Integer pageSize, Long userId, String tag) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<Record> getPublishByCategory(int pageNumber, int pageSize, Long categoryId, String title, String tags) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<Record> getPublishOnCategory(int pageNumber, int pageSize, Long categoryId, String title, String tags) {
		// TODO Auto-generated method stub
		return null;
	}
}